<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>添加用户</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/zTreeStyle.css" rel="stylesheet">
    <link href="${ctx}/resources/admin/css/jqpagination.css" rel="stylesheet">
    <link rel="stylesheet" href="${ctx}/resources/artDialog/skins/default.css" type="text/css" />
</head>
<body>
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
    <div id="content" class="orgStr">
    <div class="hd">
        <span><a href="${ctx}/privilege/user_privilege!list.xhtml">功能权限</a> >权限分配</span>
        <a href="javascript:;" class="btn blue-btn fr" style="margin-left: 10px;" id="delete">删 除</a>
        <a href="javascript:;" class="btn blue-btn fr" id="addMember">添加用户</a>
    </div>
    <table class="table-list" style="margin-top: -10px;">
    	<input type="hidden" id="syspowerid" value="${syspower.id}">
        <caption style="padding: 10px;text-align: left">${syspower.name}</caption>
        <tr>
            <th>权限用户</th>
            <th>操作 </th>
            <th>全选<input type="checkbox" id="inputItem1"></th>
        </tr>
        <s:iterator value="pager.result" status="i" var="ss">
	        <tr>
	            <td><s:property value="name" /></td>
	            <td><a href="javascript:;" class="delete" value="<s:property value="id" />">删除</a></td>
	            <td><input name="checkbox1" type="checkbox" class="inputItem1" value="<s:property value="id" />"></td>
        	</tr>
	    </s:iterator>
    </table>
	<jsp:include page="/jsps/admin/inc/pager.jsp">
		<jsp:param name="pageUrl" value="${ctx}/user_privilege!rightShare.xhtml?syspower.id=${syspower.id}" />
	</jsp:include>

</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<!--添加-->
<div class="popbox w560" id="addUser" >
    <div class="popbox-hd">
        <h2>添加用户</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd clearfix">
        <div class="clearfix" style="position: relative;padding: 10px 0">
            <div class="left_info" style="width: 500px;">
                <!-- <form action="" method="" style="text-align: center">
                        <div id="searchName" style="width: 500px;border-radius: 0">
                            <button type="submit" class="searchName"></button>
                            <input type="text" value="输入姓名、账号、拼音等进行搜索" class="gray" style="width: 400px;"> 
                            <span class="removeSearch"></span>
                        </div>
                    </form>-->
                <div class="zTreeDemoBackground" style="border: 1px solid #ccc;height: 400px;overflow: auto;">
                    
                    
                </div>
            </div>
            <!-- 
            <div class="removeBtn">
                <button class="btn gray-btn">新增<i class="na"></i></button>
                <button class="btn gray-btn"><i class="re"></i>移除</button>
            </div>
            <div class="right_info">
                <p class="center">已选择部门或成员</p>
                <div class="zTreeDemoBackground" style="border: 1px solid #ccc;height: 400px;overflow: auto;">
                    <ul id="treeDemo1" class="ztree">
                    </ul>
                </div>
            </div>
             -->
        </div>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="addUserButton">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--警告框-->
<div class="popbox w300" id="warning" >
	<input id="sureDelId" type="hidden">
    <div class="popbox-hd">
        <h2>警告</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <p class="center"></p>
    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="sureDelButton">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<!--新增账户-->
<div class="popbox w800" id="personnelSelection" style="display: none;">
    <div class="popbox-hd">
        <h2>人员选择</h2>
        <a href="javascript:;" title="关闭" class="closePopBtn"></a>
    </div>
    <div class="popbox-bd">
        <div class="selectionTop">
            <form action="" method="">
            <ul class="searchSelection">
                <li class="selectionName">姓名/账号</li>
                <li class="selectionSearch"><input type="text" class="itext" id="personnelSelection_text"></li>
                <li class="selectionBtn"><button type="button" class="btn gray-btn" id="personnelSelection_search">查询</button> <button type="reset" class="btn gray-btn" id="personnelSelection_clear">清空</button> </li>
            </ul>
            </form>
            <div class="zTreeDemoBackground">
                <ul id="treeDemo" class="ztree">
                </ul>
            </div>
        </div>
        <div class="selectionBot">
            <div class="selectionLeft mobile">
                <div class="pagination paginationLeft">
                    <a data-action="first" class="first" href="#">«</a>
                    <a data-action="previous" class="previous" href="#">‹</a>
                    <input type="text" data-max-page="40">
                    <a data-action="next" class="next" href="#">›</a>
                    <a data-action="last" class="last" href="#">»</a>
                </div>
                <br>
                <div class="table-div">
	                <table class="table-list" id="table_left">
	                </table>
                </div>
            </div>
            <div class="selectionMid">
                <ul>
                    <li><button class="singleRight"></button></li>
                    <li><button class="singleLeft"></button> </li>
                    <li><button class="allRight"></button></li>
                    <li><button class="allLeft"></button></li>

                </ul>
            </div>
            <div class="selectionRight mobile">
            	<div class="table-div">
                <table class="table-list" id="table_right">

                </table>
                </div>
            </div>
        </div>

    </div>
    <div class="popbox-ft">
        <a href="javascript:;" class="btn blue-btn" id="pushData">确定</a><a href="javascript:;" class="btn gray-btn cancelBtn">取消</a>
    </div>
</div>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.core-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.excheck-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.ztree.exedit-3.1.min.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/privilege/rightShare.js"></script>
<script src="${ctx}/resources/admin/js/lib/ztree.js"></script>
<script src="${ctx}/resources/artDialog/artDialog.source.js"></script>
<script src="${ctx}/resources/artDialog/plugins/iframeTools.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery.jqpagination.min.js"></script>
<script type="text/javascript">
$(function(){
	common.menuClicked('P8', 'C9');
});
</script>
</body>
</html>